package ads.server;

import java.io.Serializable;

public class UpdateMessageData implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private UpdateOperator operator;
	private Object object;
	
	public UpdateMessageData(UpdateOperator operator, Object object) {
		super();
		this.operator = operator;
		this.object = object;
	}
	public UpdateOperator getOperator() {
		return operator;
	}
	public void setOperator(UpdateOperator operator) {
		this.operator = operator;
	}
	public Object getObject() {
		return object;
	}
	public void setObject(Object object) {
		this.object = object;
	}
	@Override
	public String toString() {
		String text="("+operator+","+object+")";
		return text;
	}
}
